home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1998 July / EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso / recent / gadtoo.lha / GadToolsBox3 / Developers / progress.gadget / ppcinclude / ppcpragmas / progress_pragmas.h
C/C++ Source or Header  |  1998-01-15  |  1KB  |  46 lines

  1. /* Automatically generated header! Do not edit! */
  2.  
  3. #ifndef _PPCPRAGMA_PROGRESS_H
  4. #define _PPCPRAGMA_PROGRESS_H
  5. #ifdef __GNUC__
  6. #ifndef _PPCINLINE__PROGRESS_H
  7. #include <ppcinline/progress.h>
  8. #endif
  9. #else
  10.  
  11. #ifndef POWERUP_PPCLIB_INTERFACE_H
  12. #include <powerup/ppclib/interface.h>
  13. #endif
  14.  
  15. #ifndef POWERUP_GCCLIB_PROTOS_H
  16. #include <powerup/gcclib/powerup_protos.h>
  17. #endif
  18.  
  19. #ifndef NO_PPCINLINE_STDARG
  20. #define NO_PPCINLINE_STDARG
  21. #endif/* SAS C PPC inlines */
  22.  
  23. #ifndef PROGRESS_BASE_NAME
  24. #define PROGRESS_BASE_NAME ProgressBase
  25. #endif /* !LISTVIEW_BASE_NAME */
  26.  
  27. #define    GetProgressClass()    _GetProgressClass(LISTVIEW_BASE_NAME)
  28.  
  29. static __inline Class *
  30. _GetProgressClass(void *ProgressBase)
  31. {
  32. struct Caos    MyCaos;
  33.     MyCaos.M68kCacheMode    =    IF_CACHEFLUSHALL;
  34. //    MyCaos.M68kStart    =    NULL;
  35. //    MyCaos.M68kSize        =    0;
  36.     MyCaos.PPCCacheMode    =    IF_CACHEFLUSHALL;
  37. //    MyCaos.PPCStart        =    NULL;
  38. //    MyCaos.PPCSize        =    0;
  39.     MyCaos.caos_Un.Offset    =    (-30);
  40.     MyCaos.a6        =(ULONG) ProgressBase;    
  41.     return((Class *)PPCCallOS(&MyCaos));
  42. }
  43.  
  44. #endif /* SASC Pragmas */
  45. #endif /* !_PPCPRAGMA_PROGRESS_H */
  46.